package com.ty.day2;

/**
 * Created by IntelliJ IDEA.
 *
 * @author : txy
 * @create 2023/11/7 11:41
 */
public class Three {
    public static void main(String[] args) {
        //输出int最大值
        System.out.println(Integer.MAX_VALUE);
        //int数据求平方根
        int a = 125;
        double sqrt = Math.sqrt(a);
        System.out.println(sqrt);
        //计算int最小值减5的结果
        System.out.println(Integer.MIN_VALUE - 5L);
        int m = 10;
        if (m % 3 == 0){
            m=m/3;
        }
        System.out.println(m / 3.);
        int n = 10;
        double n1 = 13;
        System.out.println(n / n1);
        double k = n + m + n1;
        System.out.println(n / n1 * 100 + "%");
        long l = System.currentTimeMillis();
        System.out.println(l);
    }
}
